import Https from "@/utils/Https";

export const queryPageDataReq = async (params) =>
  await Https.post("/holiday/venueHolidayList", params);

export const addItemReq = async (params) =>
  await Https.post("/holiday/venueHolidayConfig", params, true);

export const updateItemReq = async (params) =>
  await Https.post("/holiday/updateSingleHoliday", params, true);
export const deleteItemReq = async (params) =>
  await Https.post("/holiday/logicDeleteHoliday", params, true);

export const queryItemInfoReq = async (params) =>
  await Https.post("/holiday/holidayDetail", params);

export const toggleStateReq = async (params) =>
  await Https.post("/tables", params, true);

//查场馆
export const queryVenueAllListReq = async (params) =>
  await Https.post("/holiday/venueAllList", params);

//新增场馆
export const queryAddVenueHolidayReq = async (params) =>
  await Https.post("/holiday/venueHolidayConfig", params);
